package cn.iocoder.yudao.module.of.controller.admin.taskgenuser.vo;

import cn.hutool.core.date.DateTime;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 会议、收文  主责部门指派任务生成人员分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TaskGenUserPageReqVO extends PageParam {

    @Schema(description = "任务生成者", example = "5902")
    private Long taskGenUserId;

    @Schema(description = "任务生成名称", example = "王五")
    private String taskGenUserName;

    @Schema(description = "记录生成时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    private DateTime[] createTime;

    @Schema(description = "1: 会议  2 收文", example = "2")
    private Boolean taskType;

    @Schema(description = "会议ID", example = "2")
    private Long meetingId;

}